package com.wt.test.sre.consumer.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 *
 *
 * @author qiyu
 * @since 2025/9/22
 */
@FeignClient(name = "provider", url = "http://127.0.0.1:9091/provider")
public interface BookFeignClient {
    
    @GetMapping("/book/create")
    Long createBook(@RequestParam("name") String name);
}
